package com.juyu.miliao.common.constant;

import lombok.Getter;

/**
 * @author xuanqicheng
 */
@Getter
public enum BeansType {
    EVERYDAY_VIP_ADD_BEANS(1,"VIP每日赠送寻豆"),
    EVERYDAY_SUPPER_VIP_BEANS(2,"SVIP每日赠送寻豆"),
    PAY_VIP_ADD_BEANS(3,"购买VIP赠送寻豆"),
    PAY_SUPER_VIP_ADD_BEANS(4,"购买SVIP赠送寻豆"),
    LUCK_DRAW_CONSUME(5,"抽奖消耗寻豆"),
    LUCK_DRAW_INCREASE(6,"取消抽奖返还寻豆"),
    NEW_USER_GIVE_BEANS(7,"新注册用户免费获得寻豆"),
    USER_SEARCH_BEANS(8,"用户每天免费领取寻豆"),
    SPEND_GIFT_GIVE_BEANS(9,"赠送礼物返回寻豆"),
    AUDIT_FAILED_GIVE_BEANS(10,"审核未通过返还寻豆"),
    SAN_GUO_CONSUME_BEANS(11,"三国投入寻豆"),
    SAN_GUO_PROFIT_BEANS(12,"三国赚取寻豆"),
    COOL_SUMMER_GET_BEANS(13,"清凉一夏返利寻豆"),
    GAME_REWARD_GIVE_BEANS(14,"游戏人间任务奖励"),
    GAME_RANKING_GIVE_BEANS(15,"游戏人间排行奖励"),
    SYSTEM_REWARD_GIVE_BEANS(16,"系统奖励"),
    SYSTEM_PUNISHMENT_GIVE_BEANS(17,"系统惩罚"),
    COOL_SUMMER_RANKING_GIVE_BEANS(18,"清凉一夏瓜分寻豆"),
    GAME_PROFIT_DAY_REWARDS__GIVE_BEANS(19,"游戏盈利日榜发放奖励"),
    GAME_PROFIT_WEEK_REWARDS__GIVE_BEANS(20,"游戏盈利周榜发放奖励"),
    CORPSE_GAME_CONSUME__GIVE_BEANS(21,"僵尸投入寻豆"),
    CORPSE_GAME_PROFIT__GIVE_BEANS(22,"僵尸赚取寻豆"),
    NOVICE_GUIDANCE_AWARD_BEANS(23,"新手引导奖励寻豆"),
    PAY_PLATINUM_VIP_ADD_BEANS(24,"购买铂金VIP送寻豆"),
    EVERYDAY_PLATINUM_VIP_ADD_BEANS(25, "铂金VIP每日赠送寻豆"),

    //ZC    加了26 签到奖励 27VIP累签奖励
    SIGN_IN_REWARD(26, "签到奖励"),
    VIP_SIGN_IN_REWARD(27, "VIP累签奖励"),
    //JH   28
    GAME_NOOB_MISSION(28, "游戏大厅新手任务奖励"),
    /**
     * 限时抢购获取寻豆
     */
    BUY_LIMIT(29, "限时抢购获得寻豆"),
    /**
     * 寻豆福利获得寻豆
     */
    BEAN_WELFARE(30, "寻豆福利获得寻豆"),
    BEAN_POOL(31, "聚宝盆寻豆奖励")
    ;
    private int code;
    private String desc;

    BeansType(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public static String getDescByType(int type){
        String message;
        switch (type){
            case 1:
                message = "VIP每日赠送寻豆";
                break;
            case 2:
                message = "SVIP每日赠送寻豆";
                break;
            case 3:
                message = "购买VIP赠送寻豆";
                break;
            case 4:
                message = "购买SVIP赠送寻豆";
                break;
            case 5:
                message = "抽奖消耗寻豆";
                break;
            case 6:
                message = "取消抽奖返还寻豆";
                break;
            case 7:
                message = "新注册用户免费获得寻豆";
                break;
            case 8:
                message = "用户每天免费领取寻豆";
                break;
            case 9 :
                message = "赠送礼物返回寻豆";
                break;
            case 10 :
                message = "审核未通过返还寻豆";
                break;
            case 11 :
                message = "三国投入寻豆";
                break;
            case 12 :
                message = "三国赚取寻豆";
                break;
            case 13:
                message = "清凉一夏返利寻豆";
                break;
            case 14:
                message = "游戏人间任务奖励";
                break;
            case 15:
                message = "游戏人间排行奖励";
                break;
            case 16:
                message = "系统奖励";
                break;
            case 17:
                message = "系统惩罚";
                break;
            case 18:
                message = "清凉一夏瓜分寻豆";
                break;
            case 19:
                message = "游戏盈利日榜发放奖励";
                break;
            case 20:
                message = "游戏盈利周榜发放奖励";
                break;
            case 21:
                message = "僵尸投入寻豆";
                break;
            case 22:
                message = "僵尸赚取寻豆";
                break;
            case 23:
                message = "新手引导奖励寻豆";
                break;
            case 24:
                message = "购买铂金VIP送寻豆";
                break;
            case 25:
                message = "铂金VIP每日赠送寻豆";
                break;
            case 26:
                message = "签到奖励";
                break;
            case 27:
                message = "VIP累签奖励";
                break;
            case 28:
                message = "游戏大厅新手任务奖励";
                break;
            case 29:
                message = "限时抢购获得寻豆";
                break;
            case 30:
                message = "寻豆福利获得寻豆";
                break;
            case 31:
                message = "聚宝盆寻豆奖励";
                break;
            default:
                message = "其他消费";
                break;

        }
        return message;
    }
}
